package com.hxzy.shop.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.binarywang.wxpay.bean.notify.WxPayOrderNotifyResult;
import com.hxzy.shop.commodity.dto.req.RechargeReq;
import com.hxzy.shop.commodity.dto.resp.RechargeResp;
import com.hxzy.shop.entity.MerchantPlugs;

/**
 * <p>
 * 腾讯云saas订单 服务类
 * </p>
 *
 * @author qy
 * @since 2021-08-10
 */


public interface MerchantPlugsService extends IService<MerchantPlugs> {

    /**
     * @author qy
     * @date 2021/8/12
     * @description 获取商户插件使用情况
     **/
    MerchantPlugs getPreInfo(Long plugId);

    /**
     * @author qy
     * @date 2021/8/12
     * @description 充值
     **/
    RechargeResp recharge(RechargeReq rechargeReq);

    /**
     * @author qy
     * @date 2021/8/12
     * @description 验证支付结果
     **/
    String checkPayStatus(WxPayOrderNotifyResult notifyResult);
}
